package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车位授权对象 t_authorization
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public class TAuthorization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，授权ID  */
    private Long authid;

    /** 与t_carport表主键关联，车位信息 */
    @Excel(name = "与t_carport表主键关联，车位信息")
    private Long cid;

    /** 1表示车位已录入车牌，2表示未录入。 */
    @Excel(name = "1表示车位已录入车牌，2表示未录入。")
    private Long haveornot;

    public void setAuthid(Long authid) 
    {
        this.authid = authid;
    }

    public Long getAuthid() 
    {
        return authid;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setHaveornot(Long haveornot) 
    {
        this.haveornot = haveornot;
    }

    public Long getHaveornot() 
    {
        return haveornot;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("authid", getAuthid())
            .append("cid", getCid())
            .append("haveornot", getHaveornot())
            .toString();
    }
}
